// #define quickread
#ifdef quickread
#include <cstdio> 
template <typename T>
inline void read(T& x)
{
    int c=getchar(), f=1; x=0;
    while(c<'0'||'9'<c) {if(c=='-') f=-1; c=getchar();}
    while('0'<=c&&c<='9') 
        x=(x<<3)+(x<<1)+c-'0', c=getchar();
    x*=f;
}
template <typename T>
inline void quickwrite(T x)
{
    if(x>=10) quickwrite(x/10);
    putchar(x%10+'0');
}
#else 
#include <iostream>
#endif
#include <string>
using namespace std;
#define DEBUG
string str, A, a;
int index;
string indexstr;
void init()
{
    cin >> str;
    A=str[0];
    int pointpos=str.find('e');
    a=str.substr(2, pointpos-2);
    /*string */indexstr=str.substr(pointpos+1, str.size());
    index=stoi(indexstr);

}

void solve()
{
    init();
    // cout << "A:" << A << endl;
    // cout << "a:" << a << endl;
    // cout << "index:" << index << endl;

    // cout << "输出整数部分" << endl;
    cout << A;
    int ind=0;
    while(ind<index&&ind<a.size()) //输出整数部分
        cout << a[ind++];

    if(a=="0"&&index==0) return;
    if(ind<a.size()||(ind==0&&index==0)) cout << '.';

    // cout << "输出小数部分" << ind << endl;
    while(ind<a.size()) //输出小数部分
        cout << a[ind++];

    // cout << endl << "补零" << ind << endl;
    while(ind<index) {cout << '0'; ind++;} //补零
    cout << endl;
}

// #undef DEBUG
signed main()
{
    #ifdef DEBUG
        freopen("../in.txt", "r", stdin);
        freopen("../out.txt", "w", stdout);
    #endif
    #ifndef quickread
    ios::sync_with_stdio(0);
    cin.tie(0); cout.tie(0);
    #endif

    int T=1; //scanf("%d", &T);
    while(T--) 
    {
        solve();
    }
    return 0;
}